﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.Mannage.Model.Dto.Center
{
    public class ShopMtpsDto
    {
        public long SN { get; set; }
        private string _shop_id;
        /// <summary>
        /// 取货门店id，即合作方向美团提供的门店id
        /// </summary>
        public string shop_id
        {
            get { return _shop_id; }
            set { _shop_id = value; }
        }

        private string _shop_name;
        /// <summary>
        /// 门店名称
        /// </summary>
        public string shop_name
        {
            get { return _shop_name; }
            set { _shop_name = value; }
        }

        public int status { get; set; }

        private int _city;
        /// <summary>
        /// 城市ID，见城市代码表
        /// </summary>
        public int city
        {
            get { return _city; }
            set { _city = value; }
        }

        public int category { get; set; }

        /// <summary>
        /// 二级品类
        /// </summary>
        public int second_category { get; set; }

        private string _contact_name = string.Empty;
        /// <summary>
        /// 门店联系人
        /// </summary>
        public string contact_name
        {
            get { return _contact_name; }
            set { _contact_name = value; }
        }


        private string _contact_phone = string.Empty;
        /// <summary>
        /// 联系电话
        /// </summary>
        public string contact_phone
        {
            get { return _contact_phone; }
            set { _contact_phone = value; }
        }

        private string _contact_email = string.Empty;
        /// <summary>
        /// 联系邮箱
        /// </summary>
        public string contact_email
        {
            get { return _contact_email; }
            set { _contact_email = value; }
        }

        private string _shop_address = string.Empty;
        /// <summary>
        /// 门店地址
        /// </summary>
        public string shop_address
        {
            get { return _shop_address; }
            set { _shop_address = value; }
        }


        private string _shop_address_detail = string.Empty;
        /// <summary>
        /// 门牌号
        /// </summary>
        public string shop_address_detail
        {
            get { return _shop_address_detail; }
            set { _shop_address_detail = value; }
        }

        /// <summary>
        /// 门店经度
        /// </summary>
        public int shop_lng { get; set; }

        /// <summary>
        /// 门店纬度
        /// </summary>
        public int shop_lat { get; set; }

        /// <summary>
        /// 坐标类型，0：火星坐标（高德，腾讯地图均采用火星坐标） 1：百度坐标 （默认值为0）
        /// </summary>
        public int coordinate_type { get; set; }

        private string _delivery_service_codes;
        /// <summary>
        /// 配送服务代码
        /// </summary>
        public string delivery_service_codes
        {
            get { return _delivery_service_codes; }
            set { _delivery_service_codes = value; }
        }


        private string _delivery_hours;
        /// <summary>
        /// 配送时间
        /// </summary>
        public string delivery_hours
        {
            get { return _delivery_hours; }
            set { _delivery_hours = value; }
        }


        private int _prebook;
        /// <summary>
        /// 是否支持预约单，0：不支持，1：支持
        /// </summary>
        public int prebook
        {
            get { return _prebook; }
            set { _prebook = value; }
        }

        private int _prebook_out_of_biz_time;
        /// <summary>
        /// 是否支持营业时间外预约单，0：不支持，1：支持
        /// </summary>
        public int prebook_out_of_biz_time
        {
            get { return _prebook_out_of_biz_time; }
            set { _prebook_out_of_biz_time = value; }
        }

        private string _prebook_period = string.Empty;
        /// <summary>
        /// 预约单时间段，格式为{"start": "0", "end": "2"}，单位为天
        /// </summary>
        public string prebook_period
        {
            get { return _prebook_period; }
            set { _prebook_period = value; }
        }
    }
}
